package com.yunhe.service.serviceimpl;

import com.yunhe.dao.daoimpl.UserDaoImpl;
import com.yunhe.enity.User;
import com.yunhe.service.UserService;

public class UserServiceImpl implements UserService {
    UserDaoImpl userDao = new UserDaoImpl();
    @Override
    public User login(String username, String password) {
        return userDao.findUserByUsernameAndPassword(username,password);

    }
}
